package com.nobug.bean.issue;

import java.util.List;

public class IssueListVO {
    private long total;
    private List<Issue> items;

    public static IssueListVO getInstance(long total, List<Issue> issues) {
        IssueListVO issueListVO = new IssueListVO();
        issueListVO.setTotal(total);
        issueListVO.setItems(issues);
        return issueListVO;

    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<Issue> getItems() {
        return items;
    }

    public void setItems(List<Issue> items) {
        this.items = items;
    }
}
